const CONTACT_API = {
    getJobCategory: { method: 'post',url: '/jobCategory/getJobCategory' },           //工作类别列表/详情
    delJobCategory: { method: 'post',url: '/jobCategory/delJobCategory' },           //删除工作类别
    setJobCategory: { method: 'post',url: '/jobCategory/setJobCategory' },           //新增/编辑工作类别

	allocationMenu: { method: 'post',url: '/position/allocationMenu' },     //（权限）岗位分配权限
    setPermission: { method: 'post',url: '/menu/setPermission' },           //（权限）新增/编辑接口权限
    getMenu: { method: 'post',url: '/menu/getMenu' },                       //（权限）菜单列表/详情
    setMenu: { method: 'post',url: '/menu/setMenu' },                       //（权限）新增/编辑菜单

    updatePwd: { method: 'post',url: '/user/updatePwd' },                   //员工修改密码
    delUser: { method: 'post',url: '/user/delUser' },                       //删除员工
    disableUser: { method: 'post',url: '/user/disableUser' },               //禁用员工
    getUser: { method: 'post',url: '/user/getUser' },                       //员工列表/详情
    setUser: { method: 'post',url: '/user/setUser' },                       //新增/编辑员工
    resetPwd: { method: 'post',url: '/user/resetPwd' },                       //重置员工密码

    delPosition: { method: 'post',url: '/position/delPosition' },           // 删除岗位
    getPosition: { method: 'post',url: '/position/getPosition' },           // 岗位列表/详情
    setPosition: { method: 'post',url: '/position/setPosition' },           // 新增/编辑岗位

    delDepartment: { method: 'post',url: '/department/delDepartment' },     // 删除部门
    getDepartment: { method: 'post',url: '/department/getDepartment' },     // 部门列表/详情
    setDepartment: { method: 'post',url: '/department/setDepartment' },     // 新增/编辑部门

    // 用户登录   
    userLogin: { method: 'post',url: '/login/login' },                      // 账号登录
    getUserMenu: { method: 'post',url: '/menu/getUserMenu' },               // 获取菜单列表
    upload: { method: 'post',url: '/upload' },                              // 文件上传
}

export default CONTACT_API
